<FORM NAME="project_form" METHOD="post" ACTION="">
    <TABLE CELLPADDING="0" CELLSPACING="0">
        <TBODY>
        <TR>
            <TD><label for="name">Project Name:</label></TD>
            <TD>
                <INPUT TYPE="text" NAME="name" id="name" VALUE="{{ name }}" SIZE="60"/>
            </TD>
        </TR>
        <TR>
            <TD><label for="archived">Archived:</label></TD>
            <TD>
                <select NAME="archived" id="archived">
                    <option>False</option>
                    {% if archived %}
                    <option selected="selected">True</option>
                    {% else %}
                    <option>True</option>
                    {% endif %}
                </select>
            </TD>
        </TR>
        <TR>
            <TD>&nbsp;&nbsp;</TD>
        </TR>
        <TR>
            <TD COLSPAN="2">
                <INPUT TYPE="hidden" NAME="key" VALUE="{{ key }}"/>
                <INPUT TYPE="submit" NAME="save_project" VALUE="Save Project"/>
                <INPUT TYPE="reset"/>
                <INPUT TYPE="submit" NAME="delete_project" VALUE="Delete Project"/>
            </TD>
        </TR>
        </TBODY>
    </TABLE>
</FORM>
<BR/>
<TABLE CELLPADDING="0" CELLSPACING="0">
    <TBODY>
    {% for project in projects %}
    <TR>
        <TD><A HREF="/admin/projects?key={{ project.key }}">edit</A></TD>
        <TD>&nbsp;&nbsp;</TD>
        <TD>{{ project.name }}</TD>
        <TD>&nbsp;&nbsp;</TD>
        <TD>{% if project.archived %}Archived{% endif %}</TD>
    </TR>
    {% endfor %}
    </TBODY>
</TABLE>
